import React from 'react';

const Message = ({ message }) => {
  return (
    <div className={`message ${message.sender === 'user'? 'user-message' : 'bot-message'}`}>
      <p>{message.content}</p>
    </div>
  );
};

export default Message;